uniform float time;

void main()
{
  vec4 v = vec4(gl_Vertex);
  v.y *= sin(0.1*time);
  gl_FrontColor = vec4(1,0,0,1);
  gl_Position = gl_ModelViewProjectionMatrix * v;
}
